import { defineConfig } from "vite";

export default defineConfig({
  build: {
    lib: {
      format: "umd",
      entry: "./lib/index.js",
      name: "why.plus",
      fileName: (format) => `why.plus.${format}.js`,
    },
  },
});
